package com.woniuxy.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class RecordOnAppDTO {
    private Integer id;
    private String name;
    private String packageName;
    private String address;
    private Integer serviceStatus;
    private String serviceItem;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate applyDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate auditTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate finishTime;
    private String doctorName;
}
